package com.mou.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

@Data
@Component
public class Transaction {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer productId;
    private Integer buyerId;
    private Integer sellerId;
    private Integer quantity;
    private Integer status;
    private LocalDateTime transactionDate;
}
